package com.ms.teapuesto.model;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * Created by RAZANERO on 3/11/14.
 */
public class EventoPK implements Serializable{
    @Id
    @Column(precision = 5,scale = 0)
    private Long eventId;

    @Id
    @Column(precision = 5)
    private Long drawId;

    public EventoPK(Long drawId, Long eventId) {
        this.drawId = drawId;
        this.eventId = eventId;
    }

    public EventoPK() {
    }

    public Long getEventId() {
        return eventId;
    }

    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    public Long getDrawId() {
        return drawId;
    }

    public void setDrawId(Long drawId) {
        this.drawId = drawId;
    }
}
